var express = require('express');
var router = express.Router();
var userRouter = require('../routes/users')
var createJson = require('../utils/json')
const apiAuthTokenMiddleware = require("../middleware/apiAuthTokenMiddleware");
const userServices = require("../services/userServices");

var app = express();

var loginController = require('../controller/user/LoginController')
const userController = require("../controller/user/userController");
/**
 * 不需要授权
 */
router.post('/login',loginController.login);
/**
 * 需要授权接口
 */

router.use('/user',userRouter)




module.exports = router